<!DOCTYPE html>
<html lang="en" ng-app="FormModule">
<head>
    <meta charset="UTF-8">
    <script src="../../js/angular-1.3.0.js"></script>
    <script src="FormBasic.js"></script>
    <title>Title</title>
</head>
<body>
    <form name="myForm" ng-submit="save()" ng-controller="FormCtrl">
        <input name="userName" type="text" ng-model="user.userName" required>
        <input name="password" type="password" ng-model="user.password" required>
        <input type="submit" ng-disabled="myForm.$invalid">
    </form>
</body>
</html>